<!DOCTYPE html>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<p>PASS if no crash.</p>
<svg>
  <text style='white-space: normal'> </text>
  <text style='white-space: nowrap'> </text>
  <text style='white-space: pre'> </text>
  <text style='white-space: pre-wrap'> </text>
  <text style='white-space: pre-line'> </text>
</svg>
